package org.venus.onvif;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.venus.onvif.util.InitUtil;

/**
 * Author      jxx
 * Motto       让世界看到我
 * On          2023/11/2 8:42
 * Version     v1.0
 * Note        TODO
 */
@SpringBootApplication(scanBasePackages = "org.venus.onvif")
public class Application {

    public static void main(String[] args) {
        if (!InitUtil.initConfig()) {
            System.out.println("程序初始化配置文件失败,请联系管理员!");
            return;
        }
        InitUtil.initOnvif();
        SpringApplication.run(Application.class, args);
    }
}
